var exec = require('cordova/exec')
var platform = require('cordova/platform')

module.exports = {
  classify: function (imgBase64, onSuccess, onError) {
    exec(onSuccess, onError, 'ImageClassification', 'classify', [imgBase64])
  },
  classifyAll: function (onSuccess, onError) {
    exec(onSuccess, onError, 'ImageClassification', 'classifyAll', [])
  }
}
